
# ifndef __DFX_ERROR_H__
# define __DFX_ERROR_H__

# define DFX_SUCCEEDED(dr)  (((DFXRESULT)dr) == 0)
# define DFX_FAILED(dr)     (((DFXRESULT)dr) != 0)

# define DFX_SUCCESS                0x0
# define DFX_ERROR0                 0x1
# define DFX_REGCLASS               0x2
# define DFX_CREATEWIN              0x3
# define DFX_NULLPTR                0x4
# define DFX_CREATEFAILED           0x5
# define DFX_LOADDLL                0x6
# define DFX_QUITMSG                0x7
# define DFX_INITFAILED             0x8
# define DFX_OPENFAILED             0x9
# define DFX_LOADFAILED             0x10
# define DFX_RUNERROR               0x11
# define DFX_BUFFERSIZE             0x12
# define DFX_BUFFERMAP              0x13
# define DFX_RENDERFAILED           0x14

# endif